Skip to content

Feature/prometheus metrics#2

Merged
hechi merged 2 commits intomainfrom
feature/prometheus-metrics
Mar 26, 2026
Merged

Feature/prometheus metrics#2
hechi merged 2 commits intomainfrom
feature/prometheus-metrics

Conversation

@hechi
Copy link
Copy Markdown
Owner

@hechi hechi commented Mar 26, 2026

Replace JSON /api/metrics endpoint with Prometheus exposition format using Ktor MicrometerMetrics plugin; exposes shoppimo_websocket_connections_total (active WebSocket connections) and shoppimo_shopping_lists_total (total lists in database) alongside JVM and HTTP request metrics

hechi added 2 commits March 26, 2026 23:08
Add Ktor MicrometerMetrics plugin with PrometheusMeterRegistry exposing
two custom gauges (shoppimo_websocket_connections_total and
shoppimo_shopping_lists_total) alongside JVM/HTTP metrics at /api/metrics.
Remove unused MetricsResponse and MemoryInfo data classes.
@hechi hechi merged commit 7b3c981 into main Mar 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant